
from django.conf.urls import url
from . import views

urlpatterns = [
    # 1 获取alipay调用链接 /payment/(?P<order_id>\d+)/
    url(r'^payment/(?P<order_id>\d+)/$', views.PaymentView.as_view(), name='alipay'),
    # 2 alipay回调路由payment/status/
    url(r'^payment/status/$', views.PaymenStatustView.as_view(), name='paymenstatust'),

]
